-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Escape resource ID in API request path #62
Conversation
It looks like client.DoAndGetResponseBody is not working as expected when id param contains `/`. Example: * Method: GET * URI: platform/15/protocols/nfs/aliases * ID: /example-nfs-alias * Expected: Request sent against `/platform/15/protocols/nfs/aliases/%2Fexample-nfs-alias` * Actual: Request sent against `/platform/15/protocols/nfs/aliases//example-nfs-alias`
Branch needs updating and PR info is incomplete. |
@shield-9 please ensure unit tests are added for this code change |
Is there a real world use case driving this change? |
This PR cannot be considered for merging until the checks are successful. Either update or close this PR. The PR is also very old so it may be deleted by end of month if there is no activity. |
@shield-9 Can you please update the PR description? Is there a defect filed? |
Old hanging PR closing, please re-open if we need to merge this PR. |
PR Submission checklist
GitHub Issues
List the GitHub issues impacted by this PR:
Common PR Checklist:
Description of your changes:
It looks like client.DoAndGetResponseBody is not working as expected when id param contains
/
.Example
Expected
Request sent to
/platform/15/protocols/nfs/aliases/%2Fexample-nfs-alias
Actual
Request sent to
/platform/15/protocols/nfs/aliases//example-nfs-alias